type github.com/google/go-cmp/cmp.state
32 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L165: type state struct {
compare.go#L186: func newState(opts []Option) *state {
compare.go#L188: s := &state{opts: Options{validator{}}}
compare.go#L194: func (s *state) processOption(opt Option) {
compare.go#L221: func (s *state) statelessCompare(step PathStep) diff.Result {
compare.go#L236: func (s *state) compareAny(step PathStep) {
compare.go#L301: func (s *state) tryOptions(t reflect.Type, vx, vy reflect.Value) bool {
compare.go#L310: func (s *state) tryMethod(t reflect.Type, vx, vy reflect.Value) bool {
compare.go#L322: func (s *state) callTRFunc(f, v reflect.Value, step Transform) reflect.Value {
compare.go#L345: func (s *state) callTTBFunc(f, x, y reflect.Value) bool {
compare.go#L373: func (s *state) compareStruct(t reflect.Type, vx, vy reflect.Value) {
compare.go#L416: func (s *state) compareSlice(t reflect.Type, vx, vy reflect.Value) {
compare.go#L508: func (s *state) compareMap(t reflect.Type, vx, vy reflect.Value) {
compare.go#L550: func (s *state) comparePtr(t reflect.Type, vx, vy reflect.Value) {
compare.go#L567: func (s *state) compareInterface(t reflect.Type, vx, vy reflect.Value) {
compare.go#L580: func (s *state) report(eq bool, rf resultFlags) {
options.go#L32: filter(s *state, t reflect.Type, vx, vy reflect.Value) applicableOption
options.go#L43: apply(s *state, vx, vy reflect.Value)
options.go#L68: func (opts Options) filter(s *state, t reflect.Type, vx, vy reflect.Value) (out applicableOption) {
options.go#L89: func (opts Options) apply(s *state, _, _ reflect.Value) {
options.go#L134: func (f pathFilter) filter(s *state, t reflect.Type, vx, vy reflect.Value) applicableOption {
options.go#L181: func (f valuesFilter) filter(s *state, t reflect.Type, vx, vy reflect.Value) applicableOption {
options.go#L203: func (ignore) filter(_ *state, _ reflect.Type, _, _ reflect.Value) applicableOption { return ignore{} }
options.go#L204: func (ignore) apply(s *state, _, _ reflect.Value) { s.report(true, reportByIgnore) }
options.go#L212: func (validator) filter(_ *state, _ reflect.Type, vx, vy reflect.Value) applicableOption {
options.go#L221: func (validator) apply(s *state, vx, vy reflect.Value) {
options.go#L306: func (tr *transformer) filter(s *state, t reflect.Type, _, _ reflect.Value) applicableOption {
options.go#L320: func (tr *transformer) apply(s *state, vx, vy reflect.Value) {
options.go#L364: func (cm *comparer) filter(_ *state, t reflect.Type, _, _ reflect.Value) applicableOption {
options.go#L371: func (cm *comparer) apply(s *state, vx, vy reflect.Value) {
options.go#L414: func (exporter) filter(_ *state, _ reflect.Type, _, _ reflect.Value) applicableOption {
options.go#L520: func (reporter) filter(_ *state, _ reflect.Type, _, _ reflect.Value) applicableOption {